﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage/MasterPage.master"
    Inherits="SouthernLand.Membership.CreateUser" CodeBehind="CreateUser.aspx.cs" %>

<%@ Register Src="~/Controls/Title.ascx" TagName="Title" TagPrefix="uc" %>
<%@ Register TagPrefix="southern" Namespace="SouthernLand.Common.Untilities" Assembly="SouthernLand" %>
<%@ Register TagPrefix="southern" Namespace="SouthernLand.Common.BOL.Country" Assembly="SouthernLand" %>
<%@ Register TagPrefix="southern" Namespace="SouthernLand.Common.BOL.Location" Assembly="SouthernLand" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageContent" runat="Server">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
        <tr>
            <td class="list-real-estate-frame-top-left">
                &nbsp;
            </td>
            <td align="left" width="99.5%" class="list-real-estate-frame-top">
                <span class="Frame_Title">
                    <asp:Label runat="server" ID="lblTitle"></asp:Label></span>
            </td>
            <td class="list-real-estate-frame-top-right">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td class="list-real-estate-frame-mid-left">
            </td>
            <td style="padding-top: 10px;" width="99.5%">
                <table width="100%" align="center">
                    <tr>
                        <td>
                            <asp:ValidationSummary runat="server" ID="valChangePasswordSummary" ShowMessageBox="true"
                                ShowSummary="false" />
                            <div align="center">
                                <asp:Panel runat="server" ID="PanelMsg" Visible="false" CssClass="lblMsg" Width="400px"
                                    HorizontalAlign="Center">
                                    <asp:Label runat="server" ID="lblMsg" Font-Bold="true"></asp:Label>
                                </asp:Panel>
                            </div>
                            <asp:Panel runat="server" ID="PanelDangky" HorizontalAlign="Center" DefaultButton="btDangky">
                                <table align="center" cellpadding="7" cellspacing="0" border="0">
                                    <tr>
                                        <td colspan="2" align="left" style="color: Red">
                                            Bắt buộc phải nhập với những vùng có dấu (*)
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                    <!--Register_LogIn_Information -->
                                    <asp:Panel runat="server" ID="PanelLogon">
                                        <tr>
                                            <td align="right" style="font-weight: bold">
                                                <span class="Required">*</span>
                                                <%=ResourceManager.GetString("Register_UserName")%>
                                                :
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtUserName" MaxLength="250" runat="server" Width="250"></asp:TextBox>
                                                <southern:ReqFValid SetFocusOnError="true" ResourceName="Register_UserName_error"
                                                    ControlToValidate="txtUserName" ID="ReqFValid2" runat="server" Display="none" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right" style="font-weight: bold">
                                                <span class="Required">*</span>
                                                <%=ResourceManager.GetString("Register_Password")%>
                                                :
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtPassword" TextMode="Password" CssClass="textfield" MaxLength="250"
                                                    runat="server" Width="250" />
                                                <asp:RequiredFieldValidator SetFocusOnError="true" ControlToValidate="txtPassword"
                                                    ID="ReqPassword" runat="server" ErrorMessage="" Display="none" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right" style="font-weight: bold">
                                                <span class="Required">*</span>
                                                <%=ResourceManager.GetString("Register_ConfirmPassword")%>
                                                :
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtRePassword" TextMode="Password" CssClass="textfield" MaxLength="250"
                                                    runat="server" Width="250" />
                                                <asp:CompareValidator SetFocusOnError="true" ID="CompareValRePassword" ControlToValidate="txtRePassword"
                                                    ControlToCompare="txtPassword" runat="server" ErrorMessage="" Display="none" />
                                            </td>
                                        </tr>
                                    </asp:Panel>
                                    <asp:Panel runat="server" ID="PanelEmployer" Visible="true">
                                        <tr class="Hidden">
                                            <td align="right">
                                                <span class="Required">*</span>
                                                <%=ResourceManager.GetString("Register_CompanyName")%>
                                                :
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtCompanyName" MaxLength="250" runat="server" Width="250"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr class="Hidden">
                                            <td align="right" valign="top">
                                                &nbsp;
                                                <%=ResourceManager.GetString("Register_CompanyDescription")%>
                                                :
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtCompanyDesc" MaxLength="3500" runat="server" Width="250" TextMode="MultiLine"
                                                    Rows="5" />
                                            </td>
                                        </tr>
                                    </asp:Panel>
                                    <tr>
                                        <td align="right" style="font-weight: bold">
                                            <span class="Required">*</span> Họ tên :
                                        </td>
                                        <td align="left">
                                            <asp:TextBox ID="txtLastName" MaxLength="146" Text="Họ và Tên lót" runat="server"
                                                Width="145" />
                                            <southern:ReqFValid ControlToValidate="txtLastName" ResourceName="Register_LastName_error"
                                                runat="server" ID="ReqFValid6" />
                                            <asp:TextBox ID="txtFirstName" MaxLength="80" Text=" Tên" runat="server" Width="100" />
                                            <southern:ReqFValid ControlToValidate="txtFirstName" ResourceName="Register_FirstName_error"
                                                runat="server" ID="ReqFValid5" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="font-weight: bold">
                                            <span class="Required">*</span>
                                            <%=ResourceManager.GetString("Register_Address")%>
                                            :
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtAddess" MaxLength="250" runat="server" Width="250" />
                                            <southern:ReqFValid ControlToValidate="txtAddess" ResourceName="Register_Address_error"
                                                runat="server" ID="ReqFValid4" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="font-weight: bold">
                                            <span class="Required">*</span>
                                            <%=ResourceManager.GetString("Register_Email")%>
                                            :
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtEmail" MaxLength="250" runat="server" Width="250"></asp:TextBox>
                                            <asp:RequiredFieldValidator SetFocusOnError="true" ControlToValidate="txtEmail" ID="ReqEmail"
                                                ErrorMessage="" runat="server" Display="none" />
                                            <asp:RegularExpressionValidator SetFocusOnError="true" Display="none" ID="RegEmail"
                                                runat="server" ControlToValidate="txtEmail" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" />
                                        </td>
                                    </tr>
                                    <tr class="Hidden">
                                        <td align="right">
                                            <span class="Required">*</span>
                                            <%=ResourceManager.GetString("Country")%>
                                            :
                                        </td>
                                        <td>
                                            <southern:ddlCountry ID="ddlCountry" runat="server" Width="255" CssClass="Textbox" />
                                        </td>
                                    </tr>
                                    <tr class="Hidden">
                                        <td align="right">
                                            <span class="Required">*</span>
                                            <%=ResourceManager.GetString("Province")%>
                                            :
                                        </td>
                                        <td>
                                            <southern:ddlJobLocation ID="ddlJobLocation" runat="server" Width="255" CssClass="Textbox" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="font-weight: bold">
                                            <span class="Required">*</span>
                                            <%=ResourceManager.GetString("Register_ContactPhone")%>
                                            :
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtPhone" MaxLength="250" runat="server" Width="250"></asp:TextBox>
                                            <southern:ReqFValid ControlToValidate="txtPhone" ResourceName="Register_ContactPhone_error"
                                                runat="server" ID="ReqFValid3" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="font-weight: bold">
                                            &nbsp;
                                            <%=ResourceManager.GetString("Register_ContactMobile")%>
                                            :
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtMobile" MaxLength="250" runat="server" Width="250" />
                                        </td>
                                    </tr>
                                    <tr class="Hidden">
                                        <td align="right" style="font-weight: bold">
                                            &nbsp;
                                            <%=ResourceManager.GetString("Register_FaxNumber")%>
                                            :
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtFax" MaxLength="250" runat="server" Width="250" />
                                        </td>
                                    </tr>
                                    <tr class="Hidden">
                                        <td align="right">
                                            &nbsp;
                                            <%=ResourceManager.GetString("Register_Website")%>
                                            :
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtWebsite" MaxLength="250" runat="server" Width="250" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" colspan="2">
                                            <asp:ImageButton runat="server" ID="btDangky" ImageUrl="~/Images/btDangky2.gif" OnClick="btDangky_Click" />
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                            <br />
                            <br />
                            <br />
                        </td>
                    </tr>
                </table>
            </td>
            <td class="list-real-estate-frame-mid-right">
            </td>
        </tr>
        <tr>
            <td class="list-real-estate-frame-bot-left">
            </td>
            <td align="center" class="list-real-estate-frame-bot-center">
            </td>
            <td class="list-real-estate-frame-bot-right">
            </td>
        </tr>
    </table>
</asp:Content>
